import request from '@/utils/request'
import { transFormValue } from '@/utils/tools'

//完成勘察
export function surveyFinish(data) {
  return request({
    url: '/survey/finish' + transFormValue(data),
    method: 'post'
  })
}


//勘察列表
export function surveyGetList(data) {
  return request({
    url: '/survey/getList' + transFormValue(data),
    method: 'post'
  })
}


//勘察详情
export function surveyInfo(data) {
  return request({
    url: '/survey/info' + transFormValue(data),
    method: 'post'
  })
}

//勘察更新
export function surveyUpdate(data) {
  return request({
    url: '/survey/update' + transFormValue(data),
    method: 'post'
  })
}